package cn.cdeden.knowledge.domain.dto;


import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;
import java.util.List;

/**
* @author Yu.
* @date 2023-02-02
*/
@Getter
@Setter
public class SysCalendarQueryParam{

//    @ApiModelProperty(value = "时间类型")
//    @NotEmpty(message = "时间类型,不得为空")
    private String dateType;

//    @DateTimeFormat(pattern="yyyy-MM-dd")
//    @Query(type = Query.Type.BETWEEN)
//    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "开始时间,不得为空")
    private Date startDate;


//    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "结束时间,不得为空")
    private Date endDate;

//    @ApiModelProperty(value = "用户id")
    private Long userId;

//    @ApiModelProperty(value = "日程id")
    private List<Long> ids;

//    @ApiModelProperty(value = "我的日程")
    private String mySchedule;

//    @ApiModelProperty(value = "我的任务")
    private String myMission;

//    @ApiModelProperty(value = "全部日程")
    private String allSchedule;

//    @ApiModelProperty("查询的类别[allSchedule:全部日程、mySchedule:我的日程、myMission:我的任务、schedule:日历、myWork:我的工时]")
    private String type;

//    @ApiModelProperty(value = "日历ID")
    private Long scheduleId;
}
